package com.teamwork.module01.service.Impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.teamwork.common.entity.User;
import com.teamwork.module01.mapper.UserMapper;
import com.teamwork.module01.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

//    @Autowired
//    private UserMapper userMapper;
    @Override
    public User getone(Long id) {
        User user = this.getById(id);
        return user;
    }
}
